#include "mainwindow.h"

#include <QTextEdit>

#include "qcanpool/fancytabwidget.h"

QCANPOOL_USE_NAMESPACE

MainWindow::MainWindow(QWidget *parent)
    : QMainWindow(parent)
{
    FancyTabWidget *tw = new FancyTabWidget(this);
    tw->addTab(new QTextEdit("tab1"), tr("tab1"));
    tw->addTab(new QTextEdit("tab2"), tr("tab2"));

    setCentralWidget(tw);
}

MainWindow::~MainWindow()
{
}

